/*
import java.util.Scanner;

*/
/**
 * User:langchen
 * Date:2022-07-27
 * Time:9:48
 *//*

public class Fouthlook {
    public static void main(String[] args) {
        System.out.println(5/2);
        System.out.println(5.0/2);
        System.out.println(5/2.0);
        System.out.println((float)5/2);
        System.out.println(5/(float)2);
        System.out.println((float)(5/2));
        System.out.println(10%3);
        System.out.println(-10%3);
        System.out.println(10%-3);
        System.out.println(-10%-3);
        System.out.println(12.5%10.5);
        System.out.println(11%10.5);//Java里面%两边可以是小数
        int a =10;
        a=a++;
        System.out.println(a);//10
        //关系运算符主要有六个: == != < > <= >= ，其计算结果是 true 或者 false
        System.out.println(a == */
/**//*
b);// false
        System.out.println(a != b);// true
        System.out.println(a < b); // true
        System.out.println(a > b); // false
        System.out.println(a <= b);// true
        System.out.println(a >= b);// false


        //按位与 如果两个二进制位都是 1, 则结果为 1, 否则结果为 0.
        //用途：寻找这一位是不是都是1
        int a1 = 10;
        int b1 = 20;
        System.out.println(a1 & b1);


        //按位或 |: 如果两个二进制位都是 0, 则结果为 0, 否则结果为 1.
        //并集找对应位上是0
        int a2 = 10;
        int b2 = 20;
        System.out.println(a2 | b2);



        Scanner SC = new Scanner(System.in);//实际工作当中很少使用
        int d = SC.nextInt();
        if(d%2==0){
            System.out.println("偶数");
        }
        else{
            System.out.println("奇数");
        }



    }
}
*/
